package cn.hhy.org.service;

import cn.hhy.org.domain.Employee;
import cn.hhy.org.domain.Employee;
import cn.hhy.org.domain.Employee;
import cn.hhy.org.query.EmployeeQuery;
import cn.hhy.org.query.EmployeeQuery;
import cn.hhy.utils.QueryResult;

import java.util.List;

public interface IEmployeeService {
    void PatchDelete(Long[] ids);
    //新增
    void save(Employee employee);
    //修改
    void update(Employee employee);
    //删除
    void delete(Long id);
    //查询一个
    Employee loadById(Long id);
    List<Employee> loadAll();
    
    QueryResult<Employee> employeeLoadAll(EmployeeQuery employeeQuery);

}
